package net.zjitc.demo1.service;

import net.zjitc.demo1.pojo.ResultData;
import net.zjitc.demo1.pojo.User;

import java.util.List;

public interface UserService {
    public Boolean add(User user);

    public Boolean deleteById(Integer id);

    public Boolean update(User user);

    public ResultData<User> findById(Integer id);

    public ResultData<User> findPage(int currentPage, int pageSize, User user);

}
